Menu

1)  Install DeusEx, DeusEx SDK and extract the DeusEx Source.  Instructions on how to extract the DeusEx Source can be found at the bottom of the file.

2)  Go to the c:\deusex\deusex\classes sub-directory.  I am not going to make a new directory as i'm not making a new object class.  Find and open the MenuMain.uc file.

3)  This file, as you might have guessed, controls the main menu of Deus Ex. Go to the defaultproperties section at the bottom of this file.  Look for:

buttonDefaults(5)=(Text="Play Intro",Y=193,Action=MA_Intro)

Everyone's seen the intro haven't they? Let's get rid of this button as it easier to change rather than add another button (due to the background menu graphics).  Change it to:

buttonDefaults(5)=(Text="Mulitplayer",Y=193,Action=MA_Intro)

This changes the menu text from "Play Intro" to "Multiplayer".  IT DOES NOT ADD MULTIPLAYER!!!

4)  At then end you'll spot an Action.  This controls what the button does.  I think it can only call another .uc script or jump to an built-in enum.  I don't know where the code is that sets these enum's up yet, i'm still looking for it.  Refer to the table below: 
  
 

Action	And it does....
MA_Newgame	Starts a new game.
MA_MenuScreen,Invoke=Class'xx'	Invokes .uc file 'xx' into a new menuscreen with the MenuScreen variable.
MA_Training	Jump to the training missions.
MA_Intro	Starts the intro.
MA_Previous	Like the 'back' button in your browser.
MA_Quit	Quits the game.
 MA_Menu	? 
MA_MenuScreen 	? 
 MA_Custom	? 
*I think the MA_MenuScreen,Invoke=Class'xx' is the most powerfull command as it allows you to load an custom .uc script into a blank window. 
*Update: just found the enum list in MenuUIWindow.uc.

5)  Now change the Action line to:

buttonDefaults(5)=(Text="Mulitplayer",Y=193,Action=MA_Quit)

This makes your button act like another Quit button.  Not very intresting, but 'till I find a multiplayer server button, i'm gonna stick with this.

6)  Now compile your code.  This is easy; it's gonna be the last time I explain it.  Delete c:\deusex\deusex\classes\deusex.u and go to the c:\deusex\system directory in a DOS prompt window.  Type ucc make.  This compiles your code again but remember to say n when asked to rebuild a .h file!

7)  Now start DeusEx and you have an added Quit button!

Instructions To Extract The DeusEx Source: 
First, backup your c:\deusex\system directory in case you mess things up later :)

1) Download and install the Deus Ex SDK.

2) Start unrealed.exe found in the c:\deusex\system.exe directory.

3) Top right of the editor, there is a drop down menu.  Near the black, bold "Browse".  In the drop down box select "Classes".  At the bottom right corner of the screen click on "Export All" and when the message box appears, click "yes".  This extracts nearly all of the UnrealScript source files for Deus Ex into your c:\deusex\ directories.

4) If you look in your c:\deusex directory, the observant of you will notice that there are a hell of a lot more sub directories!  This is where the UnrealScript source files extract to. DO NOT move these :)  That would mess _everything_ up!

Thank you for using this tutorial!  Email me at boneskull62@hotmail.com with your opinion on post them on Modus Moriendi's message board or Deus Ex Infinitum's message board.